class MusicPlyer:
    def __new__(cls, *args, **kwargs):
        print("new方法执行，内存空间开辟，一定要有返回")
        return super().__new__(cls)

    def __init__(self):
        print("init方法执行，为对象的属性赋值")


if __name__ == '__main__':
    mp = MusicPlyer()
    